package com.smh.jiekou;

public class Test {
    public static void main(String[] args) {

        Dog dog = new Dog();
        Frog frog = new Frog();
        Rabbit rabbit = new Rabbit();

        dog.eat();
        dog.swimming();

        frog.eat();
        frog.swimming();

        rabbit.eat();

    }
}
